package com.nanrui.mutualinductor.ui.page;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.batman.baselibrary.base.BaseActivity;
import com.batman.baselibrary.utils.ActivityUtils;
import com.nanrui.mutualinductor.R;
import com.ui.widget.UINavigationView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class DataProcessingActivity extends BaseActivity {

    @BindView(R.id.uinv)
    UINavigationView uinv;
    @BindView(R.id.button_1)
    Button button1;
    @BindView(R.id.button_2)
    Button button2;
    @BindView(R.id.button_3)
    Button button3;
    @BindView(R.id.btn_exit)
    Button btnExit;

    @Override
    protected boolean isRegisterEventBus() {
        return false;
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_data_processing;
    }

    @Override
    public void initViews() {
        uinv.setNavigationTitle("数据处理");

    }

    @Override
    public void loadData(Bundle savedInstanceState) {

    }



    @OnClick({R.id.button_1, R.id.button_2, R.id.button_3, R.id.btn_exit})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.button_1:
                ActivityUtils.openActivity(mContext, HistoryActivity.class);
                break;
            case R.id.button_2:
                break;
            case R.id.button_3:
                break;
            case R.id.btn_exit:
                finish();
                break;
        }
    }
}
